﻿@using Mvc.Trialer
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width" />
    <title>@ViewBag.Title</title>
    @Styles.Render("~/Content/css")
    @Scripts.Render("~/bundles/modernizr")
</head>
<body>
    <h1>@ViewBag.Title</h1>
    @if (Request.IsAuthenticated)
    {
        @Html.Partial("_Menu")
        <span>Hi @ViewData["NickName"]!</span><br /><br />
        if (Trial.On)
        {
            @Html.DisplayTrialTime(Request)
            <br /><br />
        }        
    }
    @RenderBody()
    @Scripts.Render("~/bundles/jquery")
    @RenderSection("scripts", required: false)
</body>
</html>
